<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'index.jsp' starting page</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link rel="stylesheet" type="text/css" href="<%=path%>/style/user/user.css">
	
	<script type="text/javascript" src="<%=path%>/common/md5.js"></script>
	<script type="text/javascript" src="<%=path%>/common/jquery-1.4.1.js"></script>
	<script type="text/javascript" src="<%=path%>/script/user/user.js"></script>
  
  	<script type="text/javascript">
  		var APP_PATH = '<%=path%>';
  	</script>
  </head>
  
  <body style="background: 3199CC" onload="createCode();">
    <div id="head" style="width: 100%;height: 15%;background: 3199CC;padding-top: 50px;">
    	
    	This page is for registering your account informations,please complete below:
    </div>
    
    <div id="main" style="width:100%;height: 70%;background: E3EFF3;padding-top: 50px;">
    	<center>
    		<form action="login!signUp.action" name="signUpForm" method="POST">
    			<font class="fontcolor" style="margin-right: 60px;">Username</font>
    			<input type="text" name="userForm.name" maxlength="24" onblur="findUserByName(this);">
    			<br>
    			<br>
    			<br>
    			<font class="fontcolor" style="margin-right: 42px;">Your-E-Mail</font>
    			<input type="text" id="userForm.email" maxlength="24">
    			<br>
    			<br>
    			<br>
    			<font class="fontcolor" style="margin-right: 25px;">ReEnter-E-Mail</font>
    			<input type="text" name="userForm.email" maxlength="24">
    			<br>
    			<br>
    			<br>
    			<font class="fontcolor" style="margin-right: 62px;">Password</font>
    			<input type="password" name="userForm.password" maxlength="24">
    			<br>
    			<br>
    			<br>
    			<font class="fontcolor" style="margin-right: 8px;">Enter-below-words</font>
    			<input type="text" name="userForm.words" maxlength="24">
    			<br>
    			<input type="text" onclick="createCode()" readonly="readonly" id="checkCode" class="unchanged" style="width: 80px"  />
    			<font class="fontcolor">click for refreshing words</font>
    			<br>
    			<br>
    			<br>
    			<input type="button" value="SignUp" onclick="encryptPwd();" class="pointer" style="background: F66000;">
    		</form>
    	</center>
    </div>
    
    <div id="bottom" style="width:100%;height: 15%;background:F7F7F7">
    	<center>
    		<font style="color:333333">
    			thank you for your registering
    		</font>
    	</center>
    </div>
  </body>
</html>
